//
//  SEGCommentInputView.h
//  SEGUhomeSommunitySocial
//
//  Created by 揭婧雯 on 2018/12/3.
//  Copyright © 2018 刘山. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SEGInputBarView.h"
#import "GDTUnifiedBannerView.h"

@protocol SEGCommentInputViewDelegate <NSObject>
- (void)sendButtonActionWithContent:(NSString *)content;
- (void)afterTouchCommentInputView;
@end


@interface SEGCommentInputView : UIView <GDTUnifiedBannerViewDelegate>

/**
 viewController 用于广告关联
 */
@property (nonatomic, weak) UIViewController *currentViewController;

@property (nonatomic, weak) id<SEGCommentInputViewDelegate> delegate;

//输入控件
@property (nonatomic, strong) SEGInputBarView *inputBarView;
//广告控件
@property (nonatomic, strong) GDTUnifiedBannerView *bannerAdView;
/**
 腾讯广告ID
 */
@property (nonatomic, copy) NSString *GDTPosId;

//显示广告
- (void)segShowTencentAD;
// 隐藏广告
-(void)segHiddenTencentAD;

- (void)showCommentInputView;
- (void)hiddenCommentInputView;

//设置输入框提示文字 默认为：说说你的观点
- (void)setPlaceholderText:(NSString *)placeholderText;

@end
